<?php
//检查是否登录
function check_login(){
	if(!isset($_SESSION['MY'])){
		msg(0,'非法操作','welcome/login');
	}
}
